package com.hospital.doctor.service;


import com.auth0.jwt.interfaces.Claim;
import com.hospital.doctor.pojo.Patient;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PatientService {

    List<Patient> selectAll(Patient patient);

    Patient selectById(int id);

    int updateById(Patient patient);

    List<Patient> selectByName(String pName);

    int updateOutTime(@Param("pId") int pId);


}
